package com.kifas.model.xml;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class AkunMasterModel implements Serializable {

	private static final long serialVersionUID = 5419598335140643906L;

	private String kodeAkun;

	private String nama;

	private String dk;

	private String idParentAkun;

	private boolean active;

	private String deskripsi;

	private String namaPanjang;

	@XmlElement(name = "typeAkunModel", type = TypeAkunModel.class)
	private TypeAkunModel typeAkun;
	
	private String createdBy;

	public AkunMasterModel() {
	}

	public AkunMasterModel(String kodeAkun, String nama, String dk,
			String idParentAkun, boolean active, String deskripsi,
			String namaPanjang, TypeAkunModel typeAkun, String createdBy) {
		this.kodeAkun = kodeAkun;
		this.nama = nama;
		this.dk = dk;
		this.idParentAkun = idParentAkun;
		this.active = active;
		this.deskripsi = deskripsi;
		this.namaPanjang = namaPanjang;
		this.typeAkun = typeAkun;
		this.createdBy = createdBy;
	}

	public String getKodeAkun() {
		return kodeAkun;
	}

	public void setKodeAkun(String kodeAkun) {
		this.kodeAkun = kodeAkun;
	}

	public String getNama() {
		return nama;
	}

	public void setNama(String nama) {
		this.nama = nama;
	}

	public String getIdParentAkun() {
		return idParentAkun;
	}

	public void setIdParentAkun(String idParentAkun) {
		this.idParentAkun = idParentAkun;
	}

	public boolean isActive() {
		return active;
	}

	public void setActive(boolean active) {
		this.active = active;
	}

	public String getDeskripsi() {
		return deskripsi;
	}

	public void setDeskripsi(String deskripsi) {
		this.deskripsi = deskripsi;
	}

	public TypeAkunModel getTypeAkun() {
		return typeAkun;
	}

	public void setTypeAkun(TypeAkunModel typeAkun) {
		this.typeAkun = typeAkun;
	}

	public String getDk() {
		return dk;
	}

	public void setDk(String dk) {
		this.dk = dk;
	}

	public String getNamaPanjang() {
		return namaPanjang;
	}

	public void setNamaPanjang(String namaPanjang) {
		this.namaPanjang = namaPanjang;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public String getCreatedBy() {
		return createdBy;
	}

}
